﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="export_member_excel.aspx.cs" Inherits="LinkCard.AdminCP.CRM.export_member_excel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
          <table id="table1" class="gtable sortable" >
               <tr>
                <td valign="top" style="font-size: large; font-weight: bold;">
                    Danh sách Đăng kí nhận email
                </td>
            </tr>
            <thead>
              <tr>
                <th>Email</th>
                <th>Ngày đăng kí</th>
                <th>Trạng thái</th>
             
              </tr>
            </thead>
            <tbody>
            <asp:Repeater ID="msgList" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%# DataBinder.Eval(Container.DataItem, "Email")%>
                                </td>
                                <td>
                                    <%# DataBinder.Eval(Container.DataItem, "DateCreated")%>
                                </td>
                                <td>
                                    <%# DataBinder.Eval(Container.DataItem, "Status").ToString() == "True"? "Nhận":"Không nhận" %>
                                </td>
                              
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr id="msgNoData" runat="server">
                        <td colspan="9" align="center">
                            Không có Email đăng kí nhận tin nào!
                        </td>
                    </tr>
              
              
            </tbody>
          </table>
    </div>
    </form>
</body>
</html>
